package com.share.finance.risk.third.service.http.tyc;

import com.share.finance.risk.common.model.sys.ThirdRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Slf4j
@Service
public class TycParamService {
    public Map<String, Object> param(ThirdRequest req) {
        Map<String, Object> map = new HashMap<>();
        map.put("name", req.getName());
        map.put("phone", req.getPhoneNo());
        map.put("idCard", req.getIdCard());
        return map;
    }
}
